package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

@Table(name = "bus_income_stat")
public class BusIncomeStat implements Serializable {
    @Id
    private Integer id;

    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 总收益
     */
    @Column(name = "total_income")
    private BigDecimal totalIncome;

    /**
     * 待收收益
     */
    @Column(name = "wait_income")
    private BigDecimal waitIncome;

    /**
     * 已赚收益
     */
    @Column(name = "earned_income")
    private BigDecimal earnedIncome;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取用户ID
     *
     * @return user_id - 用户ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     *
     * @param userId 用户ID
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取总收益
     *
     * @return total_income - 总收益
     */
    public BigDecimal getTotalIncome() {
        return totalIncome;
    }

    /**
     * 设置总收益
     *
     * @param totalIncome 总收益
     */
    public void setTotalIncome(BigDecimal totalIncome) {
        this.totalIncome = totalIncome;
    }

    /**
     * 获取待收收益
     *
     * @return wait_income - 待收收益
     */
    public BigDecimal getWaitIncome() {
        return waitIncome;
    }

    /**
     * 设置待收收益
     *
     * @param waitIncome 待收收益
     */
    public void setWaitIncome(BigDecimal waitIncome) {
        this.waitIncome = waitIncome;
    }

    /**
     * 获取已赚收益
     *
     * @return earned_income - 已赚收益
     */
    public BigDecimal getEarnedIncome() {
        return earnedIncome;
    }

    /**
     * 设置已赚收益
     *
     * @param earnedIncome 已赚收益
     */
    public void setEarnedIncome(BigDecimal earnedIncome) {
        this.earnedIncome = earnedIncome;
    }
}